home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et3_0-a1.lha
/
et3
/
src
/
SUNWINDOW
/
SunColorMap.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-26
|
635b
|
31 lines
#ifndef SunColorMap_First
#ifdef __GNUG__
//pragma once
#pragma interface
#endif
#define SunColorMap_First
#include "WindowColorMap.h"
class SunColorMap : public WindowIndexMapper {
static int cmsno;
static byte *gamma_map;
char *type, *name;
int *usecnt;
u_long FindRGB(RGB *rgb);
u_long FindGray(int gray);
public:
SunColorMap(int d);
SunColorMap(SunColorMap *from);
~SunColorMap();
void DevInstall(Port *port);
u_long DevRGB2Index2(RGB *rgb);
u_long DevAllocateAndSetCell(long id, RGB *rgb, WindowPort*);
WindowColorMap *DevMakeCopy(WindowColorMap *from);
};
#endif